<template>
  <div>
  <home v-if="dataType === '10461001'"></home>
  <ome-home :banner="dataType === '10461001'"></ome-home>
  </div>
</template>

<script>
import { getDataType } from '@/assets/js/auth';
import home from './home';
import omeHome from './oem-home';

export default {
  name: 'Dashboard',
  components: {
    home,omeHome
  },
  data() {
    return {
      dataType: getDataType('dataType'),
    }
  },
};
</script>

<style scoped lang="less">
.el-main{background: rgb(242, 244, 248);}
.text {
  text-align: center;
  font-size: 26px;
  padding-top: 30vh;
}
</style>
